package nl.han.ica.ap.searchengine.server.pagerank;

import java.util.List;

import nl.han.ica.ap.searchengine.shared.sdo.Webpage;

public class PagerankCalculator {

	private final List<Webpage> source;
	
	public PagerankCalculator(final List<Webpage> input) {
		this.source = input;
	}

	public List<Webpage> calculatePagerank() {
		for (Webpage page : this.source) {
			page.setRank(1);
		}
		
		return this.source;
	}

}
